package com.example.nvzi;




import com.alibaba.fastjson.JSON;

import java.util.HashMap;
import java.util.LinkedHashMap;
import java.util.Map;

public class 登录 {


    public static void main(String[] strings){

        String url="https://32.205.32.10:9812/user/login";

        Map<String,String> par=new HashMap<>();


        par.put("username","tongbu123456");

        par.put("password",MD5.md5("tongbu123456"));


        Map<String,String> heard=new LinkedHashMap<>();


        heard.put("Authorization","");

        System.out.println();


        String result=HttpUtils.post(url, JSON.toJSONString(par),"");


        System.out.println(result);


    }

}
